package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.ProjectDTO;

public interface ProjectService {

    List<ProjectDTO> index(Searchable searchable);

    Page<ProjectDTO> page(Searchable searchable, Pageable pageable);

    ProjectDTO create(ProjectDTO dto);

    ProjectDTO update(Long id, ProjectDTO dto);

    ProjectDTO detail(Long id);

    ProjectDTO getInfoByCode(String code);

    void delete(Long id);

}
